import { createStore } from 'vuex';
import DX_TOKEN from '@/components/constants.js';

const token = window.localStorage.getItem(DX_TOKEN) || '';

const store = createStore({
  state: {
    token,
  },
  mutations: {},
});

export default store;
